import { store } from './index'

import { adminStore } from './modules/admin'
import { menusStore } from './modules/menus'
import { configStore } from './modules/config'


export function useAdmin() {
  return adminStore(store)
}

export function useMenus() {
  return menusStore(store)
}
export function useConfig() {
  return configStore(store)
}